import request from '@/utils/request';

export function login(phone, password,masterClient) {
	const data = {
		phone,
		password,
		masterClient
	};
	return request({
		url: '/user/login',
		method: 'get',
		data
	})
}

export function checkUserRegister(phone) {
	const data = {
		phone
	};
	return request({
		url: '/user/checkPhoneisRegiter',
		method: 'get',
		data
	})
}